import os

# 数据库配置
DATABASE_INITIALIZED_FILE = '.db_initialized'

# 检查数据库是否已初始化
def is_database_initialized():
    return os.path.exists(DATABASE_INITIALIZED_FILE)

def mark_database_initialized():
    with open(DATABASE_INITIALIZED_FILE, 'w') as f:
        f.write('Database initialized')
